<#include "/common/layout.html"> 
<@layout title="123">
<script type="text/javascript" src="/js/easyui/easyui_grid.js"></script>
<script type="text/javascript">
	var datagrid;
	var model_name = "/category";
	var model_title="所有分类";
	$(function() {
		datagrid=$('#form_datagrid').datagrid({
		 	url:model_name+'/grid',
		 	columns:[[    
		        {field:'id',title:'编号',width:100,checkbox:true},
		        {field:'marketName',title:'所属市场',width:150},
		        {field:'name',title:'类名',width:100},
		        {field:'seq',title:'排序',width:60},
		        {field:'icon',title:'分类背景图片地址',width:500,
		        	formatter:function(value,row,index){
		        	if(value)
		        	return "<span url='"+value+"' style='cursor:pointer;color:blue;'  onmouseover='hoverShow(this);'onmouseout='$(\"#imgShow\").hide();'>"+value+"</span>";
		        }}
		    ]]
		})
	})
</script>
<script type="text/javascript" src="/js/easyui/easyui_grid_common.js"></script>
</head>
	<#include "/common/seach.html" />
	<@seach>
	<td>分类名称</td>
	<td><input type="text" name="LIKE_c.name"></td>
	</@seach>
</@layout>